package BookTest;

public class C1MemoryCard extends C1BankCards{
    private double savingMoney;
    public C1MemoryCard(){}
    public C1MemoryCard(String cardNumber, String password, double savingMoney) {
        super(cardNumber, password);
        this.savingMoney = savingMoney;
    }
    public void setSavingMoney(double savingMoney) {
        this.savingMoney = savingMoney;
    }
    public double getSavingMoney() {
        return savingMoney;
    }
    public void Saving(){
        System.out.println("存钱为：" + this.savingMoney);
    }
}
